package com.springboot.demo.service;


import com.cx.item.common.par.PageParam;
import com.cx.item.common.service.BaseService;
import com.github.pagehelper.PageInfo;
import com.springboot.demo.model.example.OrderExample;
import com.springboot.demo.model.model.Order;
import com.springboot.demo.model.par.OrderParForStatus;
import com.springboot.demo.model.vo.OrderVo;

import java.util.List;

public interface OrderBGService extends BaseService<Order, OrderExample> {

    PageInfo<List<OrderVo>> queryList(PageParam pageParam);

    int updateStatus(OrderParForStatus orderParForStatus);

    int delById(Integer id);

    OrderVo queryById(Integer id);
}